package com.coolwen.service;

import com.coolwen.entity.Resource;

import java.util.List;

/**
 * Created by user on 2016/7/5.
 */
public interface BaseService<T> {
    public T load(Integer id);

    public int delete(Integer id);

    public int update(T obj);

    public int add(T obj);

    public List<T> list();
}
